<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@include file="../../common/tag.jsp" %>
<c:set var="_underUsingLog" value="active" scope="request"/>
<c:set var="_pageTitle" value="日志信息" scope="request"/>
<!DOCTYPE html>
<html>
<head>
    <title>${_pageTitle}</title>
    <%@include file="../../common/head.jsp" %>
</head>
<body>
<%@include file="../../common/topbar.jsp" %>
<div class="ch-container">
    <div class="row">
        <%@include file="../../common/left.jsp" %>
        <!-- main content -->
        <div class="page-header"><h3>日志信息</h3></div>
        <c:import url="search.jsp">
            <c:param name="action" value="${basePath}/usingLog/usingLogResult/list"/>
        </c:import>
        <br>
        <div id="list">
            <table class="table table-striped table-bordered bootstrap-datatable datatable responsive">
                <c:choose>
                    <c:when test="${not hasDatas}">
                        <tr>
                            <td>暂无查询记录!</td>
                        </tr>
                    </c:when>
                    <c:otherwise>
                        <tr>
                            <th>客户ID</th>
                            <th>序列号</th>
                            <th>品牌</th>
                            <th <c:if test="${param.type == 2 }">style="display: none" </c:if>>车型</th>
                            <th>钥匙名称</th>
                            <th <c:if test="${param.success== 1 }">style="display: none" </c:if>>失败原因</th>
                            <th>手机号</th>
                            <th>IP地址</th>
                            <th <c:if test="${param.terminal== 1 }">style="display: none" </c:if>>位置</th>
                            <th>固件版本</th>
                            <th>地区ID</th>
                            <th>APP版本</th>
                            <th>数据版本</th>
                            <th>系统详细信息</th>
                            <th>上传时间</th>
                        </tr>
                        <c:forEach var="item" items="${datas}" varStatus="it">
                            <tr>
                                <td>${item.customerId }</td>
                                <td>${item.sn }</td>
                                <td>${item.brandName }</td>
                                <td <c:if test="${param.type == 2 }">style="display: none" </c:if>>${item.modelName }</td>
                                <td>${item.keyName }</td>
                                <td <c:if test="${param.success== 1 }">style="display: none" </c:if>>${item.result }</td>
                                <td>${item.phoneNumber }</td>
                                <td>${item.ip }</td>
                                <td <c:if test="${param.terminal== 1 }">style="display: none" </c:if>>${item.addressInfo }</td>
                                <td>${item.deviceVersion }</td>
                                <td>${item.regionId }</td>
                                <td>${item.appVersion }</td>
                                <td>${item.dataVersion }</td>
                                <td>${item.systemDetail }</td>
                                <td>${item.uploadTime }</td>
                            </tr>
                        </c:forEach>
                    </c:otherwise>
                </c:choose>
            </table>
        </div>
        <div class="row-fluid">
            <div class="span8">
                <c:import url="../../theme/paginator.jsp"/>
            </div>
        </div>
        <!-- end main content -->
        <!-- content ends -->

        <c:import url="../../common/footer.jsp"/>